SftTabs/NET 6.0

FocusHighlightStyle Property, SftTabs Class

Softel vdm, Inc.

Defines the appearance of the focus rectangle on the active tab, displayed when the control has the input focus.

Syntax      SftTabs Class (Softelvdm.SftTabsNET)

VB   

Public Property FocusHighlightStyle As FocusHighlightStyleEnum

C#   

public FocusHighlightStyleEnum FocusHighlightStyle { get; set; }

C++   

public: property FocusHighlightStyleEnum FocusHighlightStyle {
        FocusHighlightStyleEnum get();
        void set(FocusHighlightStyleEnum value);
}

Property Value

The appearance of the focus rectangle.

FocusHighlightStyleEnum

Value

Description

None

0

No focus rectangle is visible, even when the control has the input focus.

Complete

1

The entire inside area of the tab is highlighted using a focus rectangle, when the control has the input focus.

Tight

2

The tab displays the smallest possible focus rectangle that contains all parts, when the control has the input focus.

Loose

3

The tab displays the smallest possible focus rectangle (in width) that contains all parts, when the control has the input focus. The focus rectangle height is as large as possible.

TightTextOnly

4

The tab displays the smallest possible focus rectangle that contains all text parts (TextPartClass), when the control has the input focus.

LooseTextOnly

5

The tab displays the smallest possible focus rectangle (in width) that contains all text parts (TextPartClass), when the control has the input focus. The focus rectangle height is as large as possible.

The default value is FocusHighlightStyleEnum.Tight.

Comments

The FocusHighlightStyle property defines the appearance of the focus rectangle on the active tab, displayed when the control has the input focus.

If the FocusHighlightStyle property is set to FocusHighlightStyleEnum.None, the user cannot distinguish a control with the input focus from one without the input focus. This is typically used for tab controls without client area, where the application shifts the input focus to another control when a tab is selected.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com